xl/libxl: implement QDISK libxl_device_disk_local_attach
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 29 May 2012 15:36:51 +0000 (16:36 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 29 May 2012 15:36:51 +0000 (16:36 +0100)
commit9ad60ac58df44d69c81c63cdd09ae43d6f41e1e8
treea2262ed06a983bd92ff32046c268893725199efc
parent38c65b140ef885c9868a5ff8f5963f7aa4b5e997
xl/libxl: implement QDISK libxl_device_disk_local_attach

- Spawn a QEMU instance at boot time to handle disk local attach
requests.

- Implement libxl__device_disk_local_attach for QDISKs in terms of a
regular disk attach with the frontend and backend running in the same
domain.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/hotplug/Linux/init.d/sysconfig.xencommons
tools/hotplug/Linux/init.d/xencommons
tools/libxl/libxl.c